package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.dto.system.AssignMenuDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysRoleMenuMapper {
    List<Long> findMenuIdsByRoleId(Long roleId);

    void deleteRelationshipByRoleId(Long roleId);

    void insertRelationship(@Param("dto") AssignMenuDto assignMenuDto);
}
